package com.weijin.service.impl;

import com.weijin.mapper.WorkRecordMapper;
import com.weijin.model.entities.WorkRecord;
import com.weijin.service.IWorkRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author WeiJin
 * @Version 1.0
 * @Date 2025/3/28 16:24
 */
@Service
public class WorkRecordServiceImpl implements IWorkRecordService {

    @Autowired
    private WorkRecordMapper workRecordMapper;

    @Override
    public int saveWorkRecord(WorkRecord workRecord) {
        return workRecordMapper.insert(workRecord);
    }
}
